<template>
  <div class="search" ref="search">
    <vehicle-search :routeData="routeData" />
  </div>
</template>

<script>
import VehicleSearch from "../../components/Msite/Components/VehicleSearch.vue"
export default {
  components: { VehicleSearch },
  data() {
    return {
      routeData: null
    };
  },
  mounted() {
    this.getMessage();
  },
  methods: {
    getMessage() {
      this.routeData = this.$route.query;
      // console.log(this.routeData);
    }
  }
}
</script>

<style lang="scss" scoped>
.search {
  width: 100%;
  height: 100%;
  background-color: #fff;
}
</style>